﻿using System;
using Data.Entities;
using Data.IdentityEntities;
using Microsoft.AspNet.Identity.EntityFramework;

namespace Data.DbContext
{
    public class AppIdentityDbContext : IdentityDbContext<SysUser, SysRole, Guid, SysUserLoginInfo, SysUserRole, SysUserClaim>
    {
        public AppIdentityDbContext() : base("WebApp")
        {
        }

        public static AppIdentityDbContext Create()
        {
            return new AppIdentityDbContext();
        }
    }
}